Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 14 - Shader Objects / Shader Objects Reference
Shader Objects Routines / Managing Texture Shaders


Q3TextureShader_New

You can use the Q3TextureShader_New function to create a new texture shader.

TQ3ShaderObject Q3TextureShader_New (TQ3TextureObject texture);
texture
A texture object.
DESCRIPTION
The Q3TextureShader_New function returns, as its function result, a new texture shader that uses the texture specified by the texture parameter. If Q3TextureShader_New cannot create a new texture shader, it returns the value NULL.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996